﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;

namespace Presentation.AllForm
{
    public partial class ViewKeys : Form
    {
        public ViewKeys()
        {
            InitializeComponent();
        }

        public ViewKeys(string KeyRunning)
        {
            InitializeComponent();
            _KeyRunning = KeyRunning;
        }

        private string _KeyRunning;

        private void ViewKeys_Load(object sender, EventArgs e)
        {
            BUS.CBienDich _bd = new BUS.CBienDich();
            lstXuat.Items.Clear();
            ArrayList _temp = _bd.BienDich(_KeyRunning);
            for (int i = 0; i < _temp.Count; i++)
            {
                lstXuat.Items.Add(_temp[i]);
            }
        }

        private void cmdOKFView_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
